<?php

defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

class AuctionViewStatistics extends JView
{
	function display($tpl = null)
	{
		JToolBarHelper::title(   JText::_( 'Statistics Auction' ), 'auction.png' );
				
		JSubMenuHelper::addEntry(JText::_('Upcoming Auctions'), 'index.php?option=com_auction&controller=default');
		JSubMenuHelper::addEntry(JText::_('History'), 'index.php?option=com_auction&controller=history');
		JSubMenuHelper::addEntry(JText::_('Camera'), 'index.php?option=com_auction&controller=default&layout=camera');
		JSubMenuHelper::addEntry(JText::_('Statistics'), 'index.php?option=com_auction&controller=statistics');
		JSubMenuHelper::addEntry(JText::_('Order'), 'index.php?option=com_auction&controller=orders');
		// Get data from the model
		
		$lists		= & $this->get( 'List');
		$page = &$this->get('Pagination');
		$limitstart = JRequest::getVar('limitstart', '0', '', 'int');
		
		$this->assignRef('page', $page);
		$this->assignRef('lists', $lists);
		parent::display($tpl);
	}
}